package com.zsr.service;

import com.zsr.dao.BookMapper;
import com.zsr.dao.FeedbackMapper;
import com.zsr.pojo.Book;
import com.zsr.pojo.Feedback;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author zsr
 * @Desc
 * @Date 2021/5/2 15:31
 */
@Service
public class FeedbackServiceImpl implements FeedbackService {

    @Autowired
    @Qualifier("feedbackMapper")
    private FeedbackMapper feedbackMapper;

    @Override
    public int addFeedback(Feedback feedback) {
        return feedbackMapper.addFeedback(feedback);
    }
}
